package com.gr.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gr.annotation.LogAnnotation;
import com.gr.dao.UserDao;
import com.gr.entity.User;
import com.gr.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {
    @Override
    @LogAnnotation(type = "select",content = "用户登录的操作")//重写目的使用LogAnnotation记录日志
    public User getOne(Wrapper<User> queryWrapper) {
        return super.getOne(queryWrapper);
    }
}
